//
//  SimpleStorage.h
//  aloqa
//
//  Created by mkoo sun on 12-8-24.
//  Copyright (c) 2012年 exodus. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Storage.h"

@interface SimpleStorage : NSObject
{
    Storage* storageUtil;
}

- (id)initWithName:(NSString*)name;

-(void)clear;

-(NSString*)get:(NSString*)key;

-(NSString*)getWithDefault:(NSString*)key default:(NSString*)defaultValue;

-(void)put:(NSString*)key value:(NSString*)value;

-(void)begin;

-(void)rollback;

-(void)commit;

-(void)close;

@end
